/**
 * @BelongsProject: hm-User
 * @BelongsPackage: com.hmall.User.domain
 * @Author: 王明天
 * @CreateTime: 2025/2/19 9:14
 * @Description: User
 */
package com.hmall.api.user.userDto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_user")
public class User {

    //Id
    @TableId(type = IdType.AUTO)
    private Long id;
    // 姓名
    private String name;
    // 性别
    private int gender;
    // 身份证号
    @TableField(value = "idNo")
    private String idNo;
    // 手机号
    private String mobile;
    // 密码
    private String pwd;
    // 邮箱
    private String email;
    //账户状态
    private int status;


    private String createdBy;


    private LocalDateTime createdTime;


    private String updateBy;


    private LocalDateTime updateTime;
}
